package com.doyens.reggie.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.doyens.reggie.domain.Dish;
import com.doyens.reggie.domain.Setmeal;
import com.doyens.reggie.dto.SetmealDto;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

public interface SetmealService extends IService<Setmeal> {

    @Transactional
    void saveSetmeal(SetmealDto setmealDto);

    @Transactional
    void delWithSetmealDish(List<Long> ids);

    SetmealDto findById(long id);

    @Transactional
    void updateSetmeal(SetmealDto setmealDto);
}
